
public class MyDog extends Dog {
    public void sleep() {
        System.out.println("狗在睡觉");
    }
}
